package com.wceManage.services.exception;

import com.wceManage.commons.exception.AbstractException;
import com.wceManage.services.exception.msg.NotifyErrorMsg;

/**
 * NotifyException
 * 推送消息类异常
 */
public class NotifyException extends AbstractException {


    private static final long serialVersionUID = 2775156672554029911L;

    public NotifyException(int code, String msg) {
        super(code, msg);
    }

    public NotifyException(NotifyErrorMsg errorMsg) {
        super(errorMsg.getCode(), errorMsg.getMsg());
    }


}
